package com.emergency.constant;

/**
 * 物资点 状态 0-未调度 1-调度中
 */
public enum SuppliesPointStatusEnum implements BaseEnum {

    NO(0, "未调度"),
    DISPATCHING(1, "调度中"),
    ;

    private Integer status;
    private String desc;

    SuppliesPointStatusEnum(Integer status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public Integer status() {
        return status;
    }

    @Override
    public Object getKey() {
        return status;
    }

    @Override
    public String getValue() {
        return desc;
    }
}
